#ifndef Plane_H
#define Plane_H

#include "intersectresult.h"
#include "cray.h"
#include "checkermaterial.h"
#include "cobject.h"
class Plane : public CObject
{
public:
     Plane();
     Plane(const GVector3& _normal,float _d);
     virtual ~Plane();
     virtual IntersectResult isIntersected(CRay& RAY);

protected:
    GVector3 normal_;
	float d;
};

#endif // Plane_H
